package com.lyc.shopping_mall.service;

import com.lyc.shopping_mall.dto.ProductWithCategoryName;
import com.lyc.shopping_mall.pojo.Product;

import java.util.List;

public interface ProductService {
    List<Product> getAllProduct();

    List<Product> getAdProduct();

    List<ProductWithCategoryName> getProductByCategory(String name);
}
